package com.kaili.basic.mapper;


import com.kaili.basic.pojo.entity.CustomerAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


/**
 * Created by xxx on 18-4-25.
 */

@Mapper
public interface CustomerAddressMapper {

    //添加客户地址
    int addCustomerAddress(CustomerAddress customerAddress);

    //删除客户地址
    int deleteCustomerAddress(CustomerAddress customerAddress);

    //删除客户地址
    int deleteCustomerAddressList(Map<String,Object> map);

    //根据客户id查询获取客户地址集合
    List<CustomerAddress> getCustomerAddressList(Long customerId);
}
